﻿using FYSJcrm.Core.Model.SystemManage;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace FYSJcrm.Core.Web.Areas.PermManage.Models.RoleModels
{
    public class RoleAddModel
    {
        /// <summary>
        /// 导航列表
        /// </summary>
        public List<NavigationEntity> Navigations { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        [Required]
        public string RoleName { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 权限项名称
        /// </summary>
        public string[] PerNames { get; set; }
    }
}